-
Notifications
You must be signed in to change notification settings - Fork 58
Reuse existing data structures on re-solve #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #516 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 1154 1164 +10
=========================================
+ Hits 1154 1164 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Before after Code |
|
Damn that was fast! Did you sleep, like, sometimes ? XP Good job, seems to solve the "useless" |
I live in New Zealand. Quiet Friday for me |
|
Oh. lol. |
|
My bad XD |
|
But past 4:20 |
| if !has_nlp_constraints && !has_quadratic_constraints | ||
| Ipopt.AddIpoptStrOption(model.inner, "jac_c_constant", "yes") | ||
| Ipopt.AddIpoptStrOption(model.inner, "jac_d_constant", "yes") | ||
| if model.is_linear |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Jacobian can be constant, even if the objective is nonlinear ;)
Closes #515